package com.mi9688.lambda;

public class Test01 {
	public static void main(String [] args){
		new FuncInterface(){
			
			@Override
			public void add() {
				System.out.println("add");
			}
			
		}.add();
		
		//Lambda
		((FuncInterface)()->{System.out.println("Lambda");}).add();
		
	}
}
